Computational Higher Type Theory I: Abstract Cubical Realizability
نویسندگان
چکیده
The goal of this work is to develop a computation-based account of higher-dimensional type theory for which canonicity at observable types is true by construction. Types are considered as descriptions of the computational behavior of terms, rather than as formal syntax to which meaning is attached separately. Types are structured as collections of terms of each finite dimension. At dimension zero the terms of a type are its ordinary members; at higher dimension terms are lines between terms of the next lower dimension. The terms of each dimension satisfy coherence conditions ensuring that the terms may be seen as abstract cubes. Each line is to be interpreted as an identification of two cubes in that it provides evidence for their exchangeability in all contexts. It is required that there be sufficiently many lines that this interpretation is tenable. For example, lines must be reversible and closed under concatenation, so that the identifications present the structure of a pre-groupoid. Moreover, there must be further lines witnessing the unit, inverse, and associativity laws of concatention, the structure of an ∞-groupoid. In this paper we give a “meaning explanation” of a computational higher type theory in the style of Martin-Löf and of Constable and Allen, et al. [Martin-Löf, 1984; Martin-Löf, 1984; Constable, et al., 1985; Allen et al., 2006]. Such an explanation starts with a dimension-stratified collection of terms endowed with a deterministic operational semantics defining what it means to evaluate closed terms of any dimension to canonical form. The dimension of a term is the finite set of dimension names it contains; these dimension names may be thought of as variables ranging over an abstract interval, in which case terms may be thought of as tracing out lines in a type. The end points, 0 and 1, of the interval may be substituted to obtain the end points of such lines. Dimension names may be substituted for one another without restriction, allowing dimensions to be renamed, identified, or duplicated. The semantics of types is given by specifying, at each dimension, when canonical elements are equal, when general elements are equal, and when these
منابع مشابه
Computational Higher Type Theory II: Dependent Cubical Realizability
This is the second in a series of papers extending Martin-Löf’smeaning explanation of dependent type theory to account for higher-dimensional types. We build on the cubical realizability framework for simple types developed in Part I, and extend it to a meaning explanation of dependent higher-dimensional type theory. This extension requires generalizing the computational Kan condition given in ...
متن کاملComputational Higher Type Theory III: Univalent Universes and Exact Equality
This is the third in a series of papers extending Martin-Löf’s meaning explanations of dependent type theory to a Cartesian cubical realizability framework that accounts for higherdimensional types. We extend this framework to include a cumulative hierarchy of univalent Kan universes of Kan types; exact equality and other pretypes lacking Kan structure; and a cumulative hierarchy of pretype uni...
متن کاملHigher Inductive Types in Cubical Computational Type Theory
In homotopy type theory (HoTT), higher inductive types provide a means of defining and reasoning about higher-dimensional objects such as circles and tori. The formulation of a schema for such types remains a matter of current research. We investigate the question in the context of cubical type theory, where the homotopical structure implicit in HoTT is made explicit in the judgmental apparatus...
متن کاملGuarded Cubical Type Theory
Guarded dependent type theory [1] is a dependent type theory with guarded recursive types, which are useful for building models of program logics, and as a tool for programming and reasoning with coinductive types. This is done via a modality ., pronounced ‘later’, with a constructor next, and a guarded fixed-point combinator fix : (.A → A) → A. This combinator is used both to define guarded re...
متن کاملGuarded Cubical Type Theory: Path Equality for Guarded Recursion
This paper improves the treatment of equality in guarded dependent type theory (GDTT), by combining it with cubical type theory (CTT). GDTT is an extensional type theory with guarded recursive types, which are useful for building models of program logics, and for programming and reasoning with coinductive types. We wish to implement GDTT with decidable type checking, while still supporting non-...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/1604.08873 شماره
صفحات -
تاریخ انتشار 2016